//
//  WSBaseViewController.swift
//  微校园
//
//  Created by Gao on 16/12/12.
//  Copyright © 2016年 weSchool. All rights reserved.
//

import UIKit

class WSBaseViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        setupUI()
    }
}

// MARK: - 设置界面
fileprivate extension WSBaseViewController {
    
    func setupUI() {
        
        view.backgroundColor = UIColor.white
        
        // 取消自动缩进 - 如果隐藏了导航栏，会缩进 20 个点
        automaticallyAdjustsScrollViewInsets = false
    }
}
